<?
include($rutaFisica."clases/DB.php");
include($rutaFisica."clases/Paginado.php");
include($rutaFisica."clases/Aspirante.php");
include($rutaFisica."funciones/alerta.php");
include($rutaFisica."funciones/funcionesphp.php");
$db = new DB();
$id = $_GET["id"];
if($_GET["accion"] == "eliminar" && $_GET["id"] =! "" && $_GET["otro"] == "idioma")
{
	$curr = new Curriculum();
	$curr->QuitarIdioma($id, $_SESSION["idCurriculum"]);
	header("Location: curriculum.php");
	exit;
}
if($_GET["accion"] == "eliminar" && $_GET["id"] =! "" && $_GET["otro"] == "experiencia")
{
	$curr = new Curriculum();
	$curr->QuitarExperiencia($id, $_SESSION["idCurriculum"]);
	header("Location: curriculum.php");
	exit;
}
if($_GET["accion"] == "eliminar" && $_GET["id"] =! "" && $_GET["otro"] == "especialidad")
{
	$curr = new Curriculum();
	$curr->QuitarEspecialidad($id, $_SESSION["idCurriculum"]);
	header("Location: curriculum.php");
	exit;
}
if($_GET["accion"] == "eliminar" && $_GET["id"] =! "" && $_GET["otro"] == "licenciatura")
{
	$curr = new Curriculum();
	$curr->QuitarLicenciatura($id, $_SESSION["idCurriculum"]);
	header("Location: curriculum.php");
	exit;
}
?>